package day6;

/**
 * @author oldliu
 * @since 1.0
 */
public class ReverseArray {
    public static void main(String[] args) {
        int[] arr = new int[]{5, -3, -4, -5, -6, -7, 9, 0, -10, -11, 15};
        for (int i = 0; i < arr.length / 2; i++) {
            int t = arr[i];
            arr[i] = arr[arr.length - 1 - i];
            arr[arr.length - 1 - i] = t;
        }
        for(int k:arr)
            System.out.print(k+" ");

    }
}
